local function DrawMenu()
	local Derma = {}
	local scrh, scrw = ScrH(), ScrW()
	Derma.height = scrh*0.5
	Derma.Width  = scrw*0.5 
	Derma.X = scrw/2 - Derma.height/2
	Derma.Y = scrh/2 - Derma.Width/2
	
	Derma.Frame = vgui.Create("DFrame")
	Derma.Frame:SetSize(Derma.Width, Derma.height)
	Derma.Frame:SetPos(Derma.X, Derma.Y)
	Derma.Frame:SetTitle("Gm Arena Menu")
	Derma.Frame:SetSkin("GMA")
	Derma.Frame:MakePopup()
	
	Derma.PropertySheet = vgui.Create( "DPropertySheet", Derma.Frame )
	Derma.PropertySheet:SetPos( 0, 25 )
	Derma.PropertySheet:SetSize( Derma.Frame:GetWide(), Derma.Frame:GetTall() - 25)
	
	Derma.Menu = {}
	
	Derma.Menu.WepChoose = {}
	Derma.Menu.WepChoose.Item = {}
	
	Derma.Menu.WepChoose.Name = "wepchoose"
	Derma.Menu.WepChoose.Icon = "gui/silkicons/user"
	Derma.Menu.WepChoose.vgui = vgui.Create("DPanelList")
	Derma.Menu.WepChoose.vgui:SetSize(Derma.Frame:GetWide(), Derma.Frame:GetTall())
	Derma.Menu.WepChoose.vgui:SetPos(0, 0)
	Derma.Menu.WepChoose.vgui:SetSpacing( 5 )
	Derma.Menu.WepChoose.vgui:EnableHorizontal( false )
	Derma.Menu.WepChoose.vgui:EnableVerticalScrollbar( true )
		
		Derma.Menu.WepChoose.Item.Label = vgui.Create("DLabel")
		Derma.Menu.WepChoose.Item.Label:SetText(ChosenLang.ChooseWep)
		Derma.Menu.WepChoose.Item.Label:SetPos(5, 0)
		Derma.Menu.WepChoose.Item.Label:SizeToContents()
	
	Derma.Menu.WepChoose.vgui:AddItem( Derma.Menu.WepChoose.Item.Label )
		
		Derma.Menu.WepChoose.Item.WeaponsPanel = vgui.Create("DPanelList")
		Derma.Menu.WepChoose.Item.WeaponsPanel:SetSize(50, 100)
		Derma.Menu.WepChoose.Item.WeaponsPanel:SetSpacing( 5 )
		Derma.Menu.WepChoose.Item.WeaponsPanel:EnableHorizontal( true )
		
			for k, v in pairs(Config.Weapons) do
				Derma.Menu.WepChoose.Item.Icon = vgui.Create( "SpawnIcon")
				Derma.Menu.WepChoose.Item.Icon:SetPos( 0, 0 )
				Derma.Menu.WepChoose.Item.Icon:SetModel( v.Model )
				Derma.Menu.WepChoose.Item.Icon:SetToolTip(v.Name)
				if v.Aviable then
					if v.Cur then
						Derma.Menu.WepChoose.Item.Icon.PaintOver = function() -- The paint function
							surface.SetDrawColor( 0, 255, 0, 150 ) -- What color do You want to paint the button (R, B, G, A)
							surface.DrawRect( 0, 0, 64, 64 ) -- Paint what coords
						end
					else
						Derma.Menu.WepChoose.Item.Icon.PaintOver = function() -- The paint function
							surface.SetDrawColor( 0, 0, 255, 150 ) -- What color do You want to paint the button (R, B, G, A)
							surface.DrawRect( 0, 0, 64, 64 ) -- Paint what coords
						end
					end
				else
					Derma.Menu.WepChoose.Item.Icon.PaintOver = function() -- The paint function
						surface.SetDrawColor( 150, 150, 150, 150 ) -- What color do You want to paint the button (R, B, G, A)
						surface.DrawRect( 0, 0, 64, 64 ) -- Paint what coords
					end
				end
				Derma.Menu.WepChoose.Item.IconLabel = vgui.Create("DLabel", Derma.Menu.WepChoose.Item.Icon)
				Derma.Menu.WepChoose.Item.IconLabel:SetText("10")
				Derma.Menu.WepChoose.Item.IconLabel:SetPos(0, 40)
				Derma.Menu.WepChoose.Item.IconLabel:SetFont("Trebuchet20")
				Derma.Menu.WepChoose.Item.IconLabel:SetColor(Color(255, 0, 0, 255))
				Derma.Menu.WepChoose.Item.IconLabel:SizeToContents()
				Derma.Menu.WepChoose.Item.WeaponsPanel:AddItem( Derma.Menu.WepChoose.Item.Icon )
			end
	Derma.Menu.WepChoose.vgui:AddItem( Derma.Menu.WepChoose.Item.WeaponsPanel )
	
	Derma.Menu.Info = {}
	Derma.Menu.Info.Name = "info"
	Derma.Menu.Info.Icon = "gui/silkicons/group"
	Derma.Menu.Info.vgui = vgui.Create("DPanel")
	Derma.Menu.Info.vgui:SetSize(Derma.Frame:GetWide(), Derma.Frame:GetTall())
	Derma.Menu.Info.vgui:SetPos(0, 0)
	
	for k, v in pairs(Derma.Menu) do
		Derma.PropertySheet:AddSheet( v.Name, v.vgui, v.Icon, false, false )
	end
end
usermessage.Hook("F4Menu", DrawMenu)